package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("User")
public class UserBean {
    /**用户id*/
    @TableId(value = "id",type = IdType.AUTO)
    private Long userId;
    /**用户编号*/
    @TableField("userNum")
    private Long userNum;

    /**用户名*/
    @TableField("userName")
    private String userName;
    /**密码*/
    @TableField("password")
    private String password;
    /**电话*/
    @TableField("phone")
    private String phone;
    /**性别*/
    @TableField("sex")
    private String sex;
    /**冻结状态*/
    @TableField("freezeStatus")
    private Integer freezeStatus;
    /**身份证图片*/
    @TableField("IDImg")
    private String IDImg;
    /**资质图片*/
    @TableField("quaImg")
    private String quaImg;
    /**认证状态*/
    @TableField("approveStatus")
    private Integer approveStatus;
    /**折扣率*/
    @TableField("discount")
    private Double discount=1.0;
    /**存款余额*/
    @TableField("money")
    private Double money;
    /**用户等级*/
    @TableField("level")
    private String level;
    /**地址集合*/
    @TableField(exist = false)
    private List<AddressBean> addressBeanList;
    @TableField("company")
    private String company;
    @TableField("realName")
    private String realName;
   
}
